TEC\Tickets\Site_Health\Subsections\Plugins\Plugin_Data_Subsection S

Total Complexity 50
Dependencies 4
Dependents 2
Total lines 631
Lines of code 433
Logical lines of code 84
Comment lines 143
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
generate_subsection()
A
30 1 190
get_formatted_prices()
S
51 7 26
calculate_total_and_count()
S
55 5 20
calculate_min_price()
S
63 5 10
calculate_max_price()
S
64 4 10
get_last_attendee_creation_date()
S
55 2 22
get_last_ticket_creation_date()
S
57 2 19
get_last_rsvp_creation_date()
S
57 2 19
get_previous_versions()
S
61 2 15
is_login_required_for_rsvp()
S
61 2 15
is_login_required_for_purchasing_tickets()
S
61 2 15
calculate_average_price()
S
79 2 3
get_post_types_with_tickets()
S
65 1 11
get_number_of_attendees()
S
80 1 3
get_number_of_rsvps()
S
80 1 3
get_number_of_tickets()
S
80 1 3
get_last_app_check_in_date()
S
70 1 7
are_tickets_emails_enabled()
S
67 1 9
are_tickets_views_v2_enabled()
S
80 1 3
are_rsvp_views_v2_enabled()
S
80 1 3
is_tickets_commerce_enabled()
S
69 1 8
get_plugin_activation_date()
S
70 1 7
parse_price()
S
80 1 3
get_rsvp_post_count()
S
78 1 3
get_ticketed_post_count()
S
78 1 3
is_subsection_enabled()
S
82 1 3